package edu.scut.course_management.exception;

import edu.scut.course_management.result.ResultCode;

/**
 * 自定义异常类
 * @author shawshank
 */
public class CustomException extends Throwable {

	private ResultCode resultCode;

	public CustomException(ResultCode resultCode) {
		this.resultCode = resultCode;
	}

	public ResultCode getResultCode() {
		return resultCode;
	}

	public void setResultCode(ResultCode resultCode) {
		this.resultCode = resultCode;
	}
}
